// Place all the styles related to the welcome controller here.
// They will automatically be included in application.css.
// You can use Sass (SCSS) here: http://sass-lang.com/

body {
  font-family: "Hiragino Sans GB", "Microsoft YaHei","WenQuanYi Micro Hei", sans-serif;
}

.inside {
  margin-top: 20px;
  margin-bottom: 20px;
  background: #ededed;
  background: -webkit-gradient(linear, left top, left bottom,color-stop(0%, #f4f4f4), color-stop(100%, #ededed));
  background: -moz-linear-gradient(top, #f4f4f4 0%, #ededed 100%);
  background: -ms-linear-gradient(top, #f4f4f4 0%, #ededed 100%);
}

.inside-full-height {
  /*
  // if you want to give content full height give him height: 100%;
  // with content full height you can't apply margins to the content
  // content full height does not work in ie http://stackoverflow.com/questions/27384433/ie-display-table-cell-child-ignores-height-100
  */
  height: 100%;
  margin-top: 0;
  margin-bottom: 0;
}

/* columns of same height styles */

.row-height {
  display: table;
  table-layout: fixed;
  height: 100%;
  width: 100%;
}
.col-height {
  display: table-cell;
  float: none;
  height: 100%;
}
.col-top {
  vertical-align: top;
}
.col-middle {
  vertical-align: middle;
}
.col-bottom {
  vertical-align: bottom;
}

@media (min-width: 480px) {
  .row-xs-height {
    display: table;
    table-layout: fixed;
    height: 100%;
    width: 100%;
  }
  .col-xs-height {
    display: table-cell;
    float: none;
    height: 100%;
  }
  .col-xs-top {
    vertical-align: top;
  }
  .col-xs-middle {
    vertical-align: middle;
  }
  .col-xs-bottom {
    vertical-align: bottom;
  }
}

@media (min-width: 768px) {
  .row-sm-height {
    display: table;
    table-layout: fixed;
    height: 100%;
    width: 100%;
  }
  .col-sm-height {
    display: table-cell;
    float: none;
    height: 100%;
  }
  .col-sm-top {
    vertical-align: top;
  }
  .col-sm-middle {
    vertical-align: middle;
  }
  .col-sm-bottom {
    vertical-align: bottom;
  }
}

@media (min-width: 992px) {
  .row-md-height {
    display: table;
    table-layout: fixed;
    height: 100%;
    width: 100%;
  }
  .col-md-height {
    display: table-cell;
    float: none;
    height: 100%;
  }
  .col-md-top {
    vertical-align: top;
  }
  .col-md-middle {
    vertical-align: middle;
  }
  .col-md-bottom {
    vertical-align: bottom;
  }
}

@media (min-width: 1200px) {
  .row-lg-height {
    display: table;
    table-layout: fixed;
    height: 100%;
    width: 100%;
  }
  .col-lg-height {
    display: table-cell;
    float: none;
    height: 100%;
  }
  .col-lg-top {
    vertical-align: top;
  }
  .col-lg-middle {
    vertical-align: middle;
  }
  .col-lg-bottom {
    vertical-align: bottom;
  }
}

.footer {
  background-color: #fff;
  font-size: 13px;
  padding: 5px;
  padding-bottom: 30px;
  p {
    margin: 0;
  }
}

.header {
  .top_bar {
    height: 45px;
    background-color: #e5e5e5;
    line-height: 45px;
    padding: 0 25px;
    .link {
      margin: 0 15px;
      font-size: 13px;
      color: #4b4b4b;
      text-decoration: none;
      &:hover {
        text-decoration: none;
        color: #009BE3;
      }
      &.location {
        position: relative;
        .location_list {
          opacity: 0;
          -webkit-transition: opacity 0.5s;
          transition: opacity 0.5s;
          position: absolute;
          background-color: #e5e5e5;
          height: 30px;
          width: 150px;
          bottom: -30px;
          line-height: 30px;
          text-align: center;
          left: 0;
          color: #000;
        }
        &:hover {
          .location_list {
            opacity: 1;
          }
        }
      }
    }
  }
  .navbar_container {
    margin-bottom: 10px;
  }
  .logo {
    width: 200px;
    margin-top: 10px;
  }
  .nav_item {
    margin-top: 50px;
    vertical-align: bottom;
    .link {
      font-size: 16px;
      color: #4b4b4b;
      margin: 0 26px;
      text-decoration: none;
      &:hover {
        color: #66D9E9;
        background: -webkit-gradient(linear,left top,right top,color-stop(32%,#2578e9),color-stop(100%,#3fe7d9));
        background: -webkit-linear-gradient(left,#2578e9 32%,#3fe7d9 100%);
        background: -ms-linear-gradient(left,#2578e9 32%,#3fe7d9 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
      }
      &.active {
        color: #66D9E9;
        background: -webkit-gradient(linear,left top,right top,color-stop(32%,#2578e9),color-stop(100%,#3fe7d9));
        background: -webkit-linear-gradient(left,#2578e9 32%,#3fe7d9 100%);
        background: -webkit-ms-gradient(left,#2578e9 32%,#3fe7d9 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
      }
    }
    form {
      display: inline-block;
      input {
        width: 160px;
        border-radius: 4px;
        -webkit-appearance: none;
        border: 1px solid #e5e5e5;
        margin-right: 10px;
      }
      .submit_search {
        text-decoration: none;
        font-size: 15px;
      }
    }
  }
}

.header-mobile {
  .top_bar {
    position: relative;
    height: 45px;
    background-color: #fff;
    a {
      color: #000;
    }
    .fa-user {
      position: absolute;
      line-height: 45px;
      font-size: 28px;
      left: 10px;
    }
    .logo {
      width: 140px;
      vertical-align: top;
    }
    .place {
      line-height: 45px;
      font-size: 20px;
    }
    .center-block {
      width: 200px;
    }
  }
  .search_bar {
    padding: 3px 10px;
    height: 33px;
    background-color: #e5e5e5;
    .submit_search {
      color: #000;
    }
    color: #000;
    input {
      -webkit-appearance: none;
      border: none;
      border-radius: 0;
      width: 90%;
    }
  }
}

.index_slide {
  position: relative;
  margin-top: 10px;
  .slide {
    width: 100%;
  }
  .arrow {
    position: absolute;
    font-size: 50px;
    color: #fff;
    top: 45%;
    text-decoration: none;
    &.left {
      left: 20px;
    }
    &.right {
      right: 20px;
    }
  }
}

.classify {
  padding: 30px 10px 100px;
  border-bottom: 1px solid #e5e5e5;
  .title {
    font-size: 26px;
    color: #079fe2;
    text-align: center;
    margin-top: 40px;
    margin-bottom: 3px;
    letter-spacing: 5px;
  }
  .title_en {
    text-align: center;
    font-size: 10px;
    color: #4b4b4b;
    margin-top: 0;
    margin-bottom: 20px;
  }
  .classify_item {
    display: inline-block;
    width: 100%;
    height: 25px;
    line-height: 25px;
    text-align: center;
    margin: 10px 0;
    text-decoration: none;
    font-size: 14px;
    color: #000;
    &:hover {
      color: #fff;
      background-color: #00A8FF;
    }
  }
  .classify_title {
    font-size: 23px;
    text-align: center;
    color: #079fe2;
    display: block;
    margin: 0 auto;
    text-decoration: none;
    &.not_vip {
      color: #F67978;
    }
  }
  .classify_title_en {
    text-align: center;
    font-size: 10px;
    color: #4b4b4b;
    margin-top: 0;
    margin-bottom: 20px;
  }
  .left_half {
    // border-right: 1px solid #d5d5d5;
    padding-right: 40px;
    .row .col-md-2 {
      padding-left: 5px;
      padding-right: 5px;
    }
  }
  .right_half {
    padding-left: 40px;
    .row .col-md-2 {
      padding-left: 5px;
      padding-right: 5px;
    }
  }
}

.popular {
  @extend .classify;
  .popular_row {
    // padding: 0 80px;
    margin-top: 50px;
  }
  .title {
    letter-spacing: initial;
  }
  .title_en {
    letter-spacing: 1px;
  }
  .desc {
    color: #4b4b4b;
    font-size: 12px;
    text-align: center;
  }
  .img_block {
    position: relative;
    img {
      width: 100%;
    }
    &:hover {
      .desc {
        opacity: 0.8;
      }
    }
    .desc {
      text-align: center;
      position: absolute;
      width: 100%;
      height: 100%;
      top: 0;
      padding-top: 20%;
      background: -webkit-gradient(linear,left top,right top,color-stop(32%,#65D5F3),color-stop(100%,#A2FAE0));
      background: -webkit-linear-gradient(left,#65D5F3 12%,#A2FAE0 100%);
      background: -ms-linear-gradient(left,#65D5F3 12%,#A2FAE0 100%);
      // background-color: #e5e5e5;
      opacity: 0;
      -webkit-transition: opacity 0.5s;
      transition: opacity 0.5s;
      h4 {
        color: #4b4b4b;
        font-size: 22px;
      }
      p {
        color: #4b4b4b;
        &.price {
          color: #E86565;
          margin-top: 20%;
          font-size: 14px;
        }
      }
      .btn {
        a {
          display: inline-block;
          background-color: rgba(255,255,255,0.4);
          color: #4b4b4b;
          padding: 2px 7px;
          border-radius: 2px;
          text-decoration: none;
        }
      }
    }
  }
  .popular_col {
    padding: 0;
  }
}

.vip_popluar {
  @extend .popular;
  padding: 0px 10px 80px;
  background-color: #6BD9E8;
  background: -webkit-gradient(linear,left top,right top,color-stop(32%,#65D5F3),color-stop(100%,#A2FAE0));
  background: -webkit-linear-gradient(left,#65D5F3 12%,#A2FAE0 100%);
  background: -ms-linear-gradient(left,#65D5F3 12%,#A2FAE0 100%);
  .title, .title_en, .desc {
    color: #fff;
  }
  .title {
    letter-spacing: 4px;
  }
  .title_en {
    letter-spacing: initial;
  }
  // .desc {
  //   margin-bottom: 50px;
  // }
  #index_vip_slide {
    // padding: 0 55px;
    margin-top: 60px;
    .class_block {
      display: inline-block;
      width: 23%;
      margin-right: 2%;
      background-color: #FFF;
      padding-bottom: 10px;
      text-decoration: none;
      &:last-child {
        margin-right: 0;
      }
      .class_img {
        width: 100%;
      }
      .title {
        position: relative;
        text-align: left;
        font-size: 20px;
        color: #000;
        margin-left: 8px;
        margin-bottom: 5px;
      }
      .desc {
        color: #4b4b4b;
        font-size: 13px;
        margin-bottom: 10px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        margin-left: 8px;
        text-align: left;
      }
      .see_desc {
        font-size: 14px;
        color: #4b4b4b;
        margin-left: 8px;
        .num {
          color: #E86565;
        }
      }
      .prize {
        color: #e97c7c;
        text-align: center;
        font-size: 18px;
      }
      .consult {
        float: right;
        width: 50px;
        color: #E86565;
        border: 1px solid #E86565;
        border-radius: 2px;
        text-align: center;
        margin-right: 10px;
        text-decoration: none;
      }
      .class_info {
        position: relative;
        .class_btns {
          position: absolute;
          top: 0px;
          width: 100%;
          height: 40px;
          background-color: #FFF;
          opacity: 0.7;
          padding-top: 10px;
          -webkit-transition: top 1s;
          transition: top 1s;
          z-index: -10;
          a {
            width: 60px;
            height: 20px;
            font-size: 15px;
            line-height: 20px;
            color: #fff;
            background-color: #E86565;
            text-align: center;
            text-decoration: none;
          }
        }
      }
      &:hover {
        .class_btns {
          z-index: 10;
          top: -40px;
        }
      }
      .old_price {
        font-size: 12px;
        text-decoration: line-through;
        color: #e5e5e5;
      }
      .price {
        color: #E86565;
        font-size: 14px;
      }
    }
    .carousel-indicators {
      bottom: -43px;
    }
    .arrow {
      display: inline-block;
      position: absolute;
      bottom: -46px;
      color: #fff;
      font-size: 25px;
      width: 50px;
      height: 50px;
      text-align: center;
      line-height: 50px;
      text-decoration: none;
      z-index: 999;
      &.left {
        left: 40%;
      }
      &.right {
        right: 40%;
      }
    }
  }
}

.special {
  @extend .popular;
  .special_img {
    width: 100%;
    height: 320px;
    margin-top: 60px;
    img {
      max-width: 100%;
    }
  }
  .special_date {
    display: inline-block;
    width: 70px;
    height: 80px;
    background-color: #6BD9E8;
    color: #66D9E9;
    background: -webkit-gradient(linear,left top,right top,color-stop(32%,#2578e9),color-stop(100%,#3fe7d9));
    background: -webkit-linear-gradient(left,#2578e9 12%,#3fe7d9 100%);
    background: -ms-linear-gradient(left,#2578e9 12%,#3fe7d9 100%);
    margin-top: 20px;
    .day {
      height: 60px;
      line-height: 60px;
      font-size: 30px;
      text-align: center;
      color: #fff;
    }
    .month {
      width: 68px;
      margin: 0 auto;
      height: 19px;
      line-height: 20px;
      font-size: 15px;
      color: #6BD9E8;
      text-align: center;
      background-color: #FFF;
    }
  }
  .special_desc {
    display: inline-block;
    margin-left: 20px;
    margin-top: 30px; 
    vertical-align: baseline;
    .title {
      text-align: left;
      font-size: 18px;
      color: #4b4b4b;
      margin-top: 0;
      margin-bottom: 15px;
      font-weight: bold;
    }
    p {
      font-size: 13px;
    }
  }
}

.cooperation {
  @extend .popular;
  border-bottom: none;
  .logo_row {
    text-align: center;
    img {
      width: 114px;
      margin: 20px 40px;
    }
  }
  #index_logo_slide {
    position: relative;
    .arrow {
      position: absolute;
      color: #969696;
      font-size: 40px;
      top: 45%;
      text-decoration: none;
      &.left {
        left: -20px;
      }
      &.right {
        right: -20px;
      }
    }
  }
}

.about {
  @extend .popular;
  background-color: #EE8485;
  background-image: url("http://7i7g8l.com1.z0.glb.clouddn.com/ae81acfda61f252caf97f9e44f5f272fe0c9a6dd-a7053e92fc7ba62ec4fdf1a5452ecf85156bae08.jpg");
  background-size: cover;
  background-position: 50% 50%;
  padding: 30px 10px 0px;
  .title, .title_en {
    color: rgba(255,255,255,0.8);
    margin-top: 0;
  }
  .about_us_desc {
    margin: 0 auto;
    color: rgba(255,255,255,0.8);
    text-align: center;
    margin-bottom: 20px;
  }
  .about_item {
    margin-top: 50px;
    padding-left: 5px;
    padding-right: 5px;
    .item_content {
      position: relative;
      border: 1px solid rgba(255,255,255,0.8);
      color: rgba(255,255,255,0.8);
      text-align: center;
      padding: 40px 5px 20px;
      height: 130px;
      .icon {
        font-size: 30px;
        display: inline-block;
        color: #fff;
        position: absolute;
        top: -20px;
        width: 50px;
        height: 50px;
        border: 1px solid #fff;
        border-radius: 50%;
        margin: auto;
        left: 0;
        right: 0;
      }
      h3 {
        font-size: 18px;
        margin-top: 0;
        font-weight: bold;
      }
      p {
        font-size: 11px;
        margin-bottom: 0;
      }
      a {
        color: rgba(255,255,255,0.8);
      }
    }
  }
  .website {
    margin-top: 70px;
    text-align: center;
    color: #fff;
    font-size: 14px;
    letter-spacing: 5px;
  }
}

.vip_banner{
  background-color: #FFF;
  .vip_banner_img {
    width: 100%;
  }
}
.vip_profile {
  background-color: #6BD9E8;
  background: -webkit-gradient(linear,left top,right top,color-stop(32%,#65D5F3),color-stop(100%,#A2FAE0));
  background: -webkit-linear-gradient(left,#65D5F3 22%,#A2FAE0 100%);
  background: -ms-linear-gradient(left,#65D5F3 22%,#A2FAE0 100%);
  padding-top: 40px;
  .avatar {
    display: block;
    width: 100px;
    height: 100px;
    background-size: cover;
    border-radius: 50%;
    margin: 0 auto;
  }
  .name {
    color: #fff;
    text-align: center;
    font-size: 15px;
  }
  .info {
    margin-top: 30px;
    margin-bottom: 30px;
    text-align: center;
    font-size: 13px;
    .num {
      color: #fff;
    }
  }
}

.vip_desc {
  text-align: center;
  h2 {
    font-size: 30px;
    margin-bottom: 20px;
  }
  p {
    font-size: 13px;
  }
  .buy_button {
    display: block;
    width: 130px;
    margin: 30px auto;
    background-color: #ED4D64;
    font-size: 25px;
    color: #fff;
    border-radius: 25px;
    text-decoration: none;
  }
  .card_prize {
    img {
      width: 100%;
    }
    margin: 10px 0;
    // &:first-child {
    //   text-align: right;
    // }
    // &:last-child {
    //   text-align: left;
    // }
    .prize {
      display: block;
      font-size: 20px;
    }
    .remark {
      display: block;
      font-size: 13px;
      .num {
        color: #ED4D64;
      }
    }
    .buy {
      display: block;
      width: 100px;
      margin: 10px auto;
      background-color: #ED4D64;
      font-size: 20px;
      color: #fff;
      border-radius: 20px;
      text-decoration: none;
    }
  }
}

.vip_class_classify {
  margin-bottom: 50px;
  h2 {
    font-size: 18px;
    background-color: #e5e5e5;
    padding: 10px;
  }
  .classify_item {
    border-bottom: 1px solid #e5e5e5;
    .item {
      display: inline-block;
      margin: 10px 5px 5px 0;
      font-size: 13px;
      padding: 10px;
      cursor: pointer;
      &.active {
        color: #fff;
        background-color: #4be5dc;
      }
      &:hover{
        color: #fff;
        background-color: #4be5dc;
      }
      &.classify_title {
        color: #4be5dc;
        font-size: 14px;
      }
      &.item_title {
        font-size: 16px;
        font-weight: bold;
      }
    }
  }
  .class_sort {
    @extend .classify_item;
  }
}
.search_class_classify {
  @extend .vip_class_classify;
}
.vip_class_container {
  .class_item {
    margin-bottom: 20px;
    height: 350px;
    img {
      width: 100%;
    }
    .class_buy, .class_consult {
      background-color: #ED4D64;
      color: #fff;
      padding: 5px;
      display: inline-block;
      margin: 5px 10px 10px 0;
      text-decoration: none;
      width: 60px;
      text-align: center;
      font-size: 12px;
    }
    .class_title {
      font-size: 18px;
      font-weight: bold;
    }
    .class_addr {
      font-size: 12px;
    }
    .delete {
      text-decoration: line-through;
      font-size: 12px;
      color: #c3c3c0;
    }
    .price {
      font-size: 18px;
      color: #ED4D64;
      font-weight: bold;
    }
    .num {  
      color: #ED4D64;
    }

  }
  .vip_pagination {
    text-align: center;
    margin-bottom: 20px;
    .item {
      margin: 0 10px;
      color: grey;
      text-decoration: none;
      &.active {
        background-color: #ED4D64;
        color: #fff;
        padding: 10px;
      }
    }
  }
}

.search_class_container {
  @extend .vip_class_container;
  .class_item {
    position: relative;
    &.vip_class_symbol {
      &:before {
        display: inline-block;
        content: '';
        width: 80px;
        height: 70px;
        position: absolute;
        bottom: 40%;
        right: 10%;
        background-image: url("http://7i7g8l.com1.z0.glb.clouddn.com/fa4a11216c98816c539923ba81895be80e6831e3-8d4a0359cf3cad53315ee03bfaeb138d825e9061.png");
        background-size: cover;
      }
    }
  }
}

.one_time_symbol {
  &:before {
    display: inline-block;
    content: '';
    width: 80px;
    height: 70px;
    position: absolute;
    bottom: 40%;
    right: 10%;
    background-image: url("http://7i7g8l.com1.z0.glb.clouddn.com/2a5670fff285900cd6fb627dffa40a99830c61a4-0e6c5a15a493583054d642ec7c48e80876df963a.png");
    background-size: cover;
  }
} 

.submit_order_title_container {
  img {
    width: 100%;
  }
}

.submit_order_title {
  font-size: 26px;
  background-color: #6BD9E8;
  padding: 10px;
  color: #fff;
}

.order_container {
  .order_pic {
    width: 49%;
    display: inline-block;
  }
  .class_info_section {
    background-color: #e5e5e5;
    padding-left: 0;
    margin-left: 15px;;
  }
  .order_info {
    display: inline-block;
    width: 49%;
    vertical-align: middle;
    height: 100%;
    padding-left: 10px;
    .price {
      font-size: 20px;
      color: #4b4b4b;
      .price_num {
        font-size: 30px;
        color: #fa5663;
        font-weight: bold;
      }
    }
    .class_name {
      font-size: 30px;
    }
  }
  .submit_form_section {
    padding-top: 80px;
    button {
      background-color: #6BD9E8;
      color: #fff;
      width: 150px;
    }
    .num {
      color: #F93B51;
    }
    &.refund_form_section {
      padding-top: 0;
    }
  }
  
}
.register_title {
  background-color: #6BD9E8;
  color: #fff;
  text-align: center;
  h1 {
    font-size: 35px;
    margin-bottom: 8px;
  }
  h2 {
    font-size: 15px;
    margin-top: 8px;
    letter-spacing: 8px;
  }
}

.register_header {
  border-bottom: 1px solid #a7a7a7;
  margin-bottom: 40px;
  .reg_nav {
    a {
      color: #a7a7a7;
      text-decoration: none;
      &.active {
        color: #14a5e5;
      }
      &:first-child {
        border-right: 1px solid #a7a7a7;
        padding-right: 10px;
        margin-right: 10px;
      }
    }
  }
  .login_nav {
    color: #a7a7a7;
    font-size: 18px;
    margin-bottom: 0;
    .login {
      color: #fff;
      background-color: #6BD9E8;
      padding: 3px;
      border-radius: 4px;
      margin-left: 5px;
      text-decoration: none;
    }
  }
}
.submit_register_section {
  input {
    border-radius: 0;
  }
  button {
    border-radius: 0;
    background-color: #6BD9E8;
    color: #fff;
    border: none;
    width: 80px;
  }
  .accept_label {
    color: #797979;
    font-size: 12px;
  }
  .control-label {
    color: #797979;
    font-size: 15px;
    padding-right: 0;
  }
  .verify_code_btn {
    text-align: center;
    background-color: #6BD9E8;
    height: 34px;
    line-height: 34px;
    color: #fff;
    cursor: pointer;
  }
}

.class_header {
  background-color: #e5e5e5;
  .class_header_container {
    padding: 20px 20px;
    .class_img {
      width:100%;
    }
    .class_img_col {
      padding: 0;
    }
    .class_row {
      margin: 0 15px;
      background-color: #FFF;
    }
    .class_info {
      padding: 0;
      background-color: #FFF;
      color: #2f2f2f;
      .class_org {
        margin-top: 25px;
        margin-left: 20px;
      }
      .class_name {
        margin-top: 40px;
        margin-left: 20px;
        margin-bottom: 13px;
        font-size: 24px;
      }
      &.vip_class_info {
        .class_name {
          margin-bottom: 60px;
        }
      }
      .price {
        .num {
          color: #F93B51;
          font-size: 25px;
          font-weight: bold;
        }
      }
      .info_meta {
        position: absolute;
        bottom: 10px;
        width: 100%;
        .meta_item {
          display: inline-block;
          width: 28%;
          text-align: center;
          &:first-child {
            margin-left: 20%;
          }
          .num {
            display: block;
            color: #78e7db;
            font-size: 17px;
          }
          .meta_name {
            display: block;
            color: #2f2f2f;
            font-size: 13px;
          }
        }
        &.normal {
          .meta_item {
            width: 23%;
            text-decoration: none;
            margin-left: 0;
            &.small {
              width: 13%;
              font-size: 12px !important;
              &.fav {
                margin-left: 20px;
              }
            }
          }
        }
      }
      p {
        margin-left: 20px;
        font-size: 13px;
        .phone {
          color: #4C9E95;
          font-weight: bold;
        }
      }

    }
    .class_btn {
      padding: 0;
      min-height: 200px;
      a {
        display: block;
        position: relative;
        color: #fff;
        text-align: center;
        width: 100%;
        height: 25%;
        font-size: 20px;
        text-decoration: none;
        &.like {
          border-bottom: 1px solid #e5e5e5;
        }
        &.like, &.share {
          background-color: #78e7db;
        }
        &.apply {
          background-color: #ffa922;
          height: 50%;
        }
        span {
          position: absolute;
          margin: auto;
          left: 0;
          right: 0;
          top: 0;
          bottom: 0;
          display: block;
          height: 27px;
        }
      }
      &.normal {
        height: 200px;
        .like {
          height: 35%;
        }
        .apply {
          height: 72%;
          background-color: #ffa922;
          color: #fff;
          padding: 10px 15px;
          text-align: center;
          h3 {
            margin-top: 5px;
            font-size: 18px;
          }
          input {
            width: 100%;
            height: 13%;
            margin-top: 8px;
          }
          textarea {
            width: 100%;
            height: 28%;
            margin-top: 8px;
          }
          button {
            -webkit-appearance: none;
            border: 1px solid #e5e5e5;
            border-radius: 5px;
            background-color: #FDA922;
          }
        }
      }
    }
  }
}

.class_info_tab {
  .class_tab_list {
    margin-top: 25px;
    margin-bottom: 25px;
    border: none;
    li {
      a {
        font-size: 16px;
        color: #2f2f2f;
        border: none;
      }
      &.active a{
        color: #fff;
        border: none;
        background-color: #78e7db;
        border-radius: 0;
      }
    }
  } 
}

.class_bg {
  background-color: #e5e5e5;
}

.class_detail_content {
  border: 1px solid #969696;
  margin-top: 20px;
  background-color: #fff;
  .tab-pane {
    padding: 20px;
  }
  .rate_item {
    width: 100%;
    position: relative;
    border-bottom: 1px solid #e5e5e5;
    padding: 10px;
    height: 60px;
    .avatar {
      height: 100%;
    }
    .rate_p {
      display: inline-block;
      font-size: 14px;
    }
    .date {
      position: absolute;
      font-size: 12px;
      bottom: 5px;
      right: 5px;
    }
  }
  .rating_info {
    text-align: center;
    font-size: 12px;
    border-bottom: 1px solid #e5e5e5;
    .rating_num {
      color: #2498E9;
      font-size: 25px;
    }
    a {
      text-decoration: none;
      color: #000;
      &.active {
        color: #2498E9;
      }
    }
    .star_wrapper {
      .star {
        display: inline-block;
        width: 15px;
        height: 15px;
        background-image: url("http://7i7g8l.com1.z0.glb.clouddn.com/b12cec1ff3a504b35e82b276227c1beffd7510e3-0d7d92738a7afd515dc0219bc431e20254e99a50.png");
        background-position: 0 0;
        background-size: cover;
      }
      .star-o {
        @extend .star;
        background-position: 15px 0;
      }
    }
  }
}

.class_org_intro {
  margin-top: 20px;
  padding: 10px;
  border: 1px solid #969696;
  background-color: #fff;
  .org_logo {
    width: 100%;
  }
  .org_link {
    display: block;
    width: 120px;
    padding: 5px;
    text-decoration: none;
    text-align: center;
    color: #fff;
    font-size: 15px;
    border-radius: 4px;
    background-color: #AF0402;
    margin: 0 auto;
  }
}
.class_recommend {
  margin-top: 30px;
  margin-bottom: 30px;
  .recomment_title {
    background-color: #78e7db;
    color: #fff;
    font-size: 20px;
    text-align: center;
    height: 40px;
    line-height: 40px;
    margin-bottom: 0;
  }
  .recommend_list {
    background-color: #FFF;
    // .class_item {
    //   border: 1px solid #969696;
    //   border-top: none;
    //   padding: 10px;
    //   img {
    //     width: 50%;
    //   }
    //   .item_info_wrapper {
    //     display: inline-block;
    //     vertical-align: bottom;
    //     width: 40%;
    //     margin-left: 5px;
    //     a {
    //       text-decoration: none;
    //       width: 50px;
    //       margin-top: 20px;
    //       display: block;
    //       background-color: #ff7272;
    //       color: #fff;
    //       text-align: center;
    //     }
    //   }
    // }
    .class_item {
      border: 1px solid #969696;
      border-top: none;
      padding: 10px;
      img {
        width: 100%;
      }
      .class_buy, .class_consult {
        background-color: #ED4D64;
        color: #fff;
        padding: 5px;
        display: inline-block;
        margin: 5px 10px 10px 0;
        text-decoration: none;
        width: 60px;
        text-align: center;
        font-size: 12px;
      }
      .class_title {
        font-size: 18px;
      }
      .class_addr {
        font-size: 12px;
      }
      .delete {
        text-decoration: line-through;
        font-size: 12px;
        color: #c3c3c0;
      }
      .price {
        font-size: 15px;
        color: #ED4D64;
        font-weight: bold;
      }
      .num {  
        color: #ED4D64;
      }
      .see_desc {
        font-size: 13px;
      }

    }
  }
}

.org_banner {
  background-color: #56CBEF;
  color: #fff;
  margin-bottom: 30px;
  .org_logo, .org_desc {
    display: inline-block;
    float: none;
    vertical-align: middle;
  }
  .logo {
    width: 100%;
  }
  .org_desc {
    padding: 10px 30px;
    font-size: 15px;
    line-height: 22px;
    h3 {
      font-weight: bold;
      margin-bottom: 23px;
    }
  }

}

.org_photo {
  margin-top: 20px;
  margin-bottom: 30px;
  padding: 10px;
  img {
    width: 100%;
  }
  .list_title {
    text-align: center;
    font-size: 20px;
    width: 250px;
    margin: 0 auto;
    padding: 10px 0;
    border-bottom: 1px solid #e5e5e5;
  }
  .arrow {
    display: inline-block;
    position: absolute;
    bottom: 0;
    color: #e5e5e5;
    font-size: 25px;
    width: 50px;
    height: 50px;
    text-align: center;
    line-height: 50px;
    text-decoration: none;
    z-index: 999;
    &.left {
      left: 40%;
    }
    &.right {
      right: 40%;
    }
  }
  .carousel-indicators {
    bottom: 5px;
    li {
      background-color: #e5e5e5;
      &.active {
        background-color: #d5d5d5;
      }
    }
  }
}
.org_info_item {
  text-align: center;
  padding-bottom: 30px;
  border-bottom: 1px solid #969696;
  .icon {
    display: block;
    width: 60px;
    height: 60px;
    line-height: 60px;
    margin: 0 auto;
    border: 1px solid #FF7575;
    border-radius: 50%;
    color: #FF7575;
    font-size: 30px;
  }
  p {
    margin-top: 10px;
    margin-bottom: 0;
    &:last-child {
      margin: 0;
    }    
  }
}

.my_class_content {
  .list_title {
    text-align: center;
    font-size: 20px;
    width: 250px;
    margin: 0 auto;
    padding: 10px 0;
    border-bottom: 1px solid #e5e5e5;
  }
  .list_sub_title {
    text-align: center;
    font-size: 13px;
    margin-top: 10px;
  }
  .class_item_row {
    margin-top: 10px;
    &>div {
      padding-right: 0;
      padding-left: 0;
    }
    .more_row {
      position: absolute;
      bottom: 0;
      width: 100%;
    }
    .class_img {
      width: 100%;
    }
    .class_title {
      font-size: 16px;
      margin-left: 15px; 
      margin-bottom: 0;
    }
    p {
      font-size: 12px;
    }
    .num {
      color: #FF7575;
      font-size: 13px;
    }
    .date {
      color: #FF7575;
      font-size: 12px;
    }
    .state {
      color: #FF7575;
      font-size: 15px;
    }
    .action_btn {
      color: #fff;
      background-color: #FF7575;
      font-size: 14px;
      padding: 3px 5px;
      text-decoration: none;
      margin-top: 5px;
      display: inline-block;
    }
    .apply_num {
      margin-top: 10px;
    }
    .more_info {
      display: block;
      color: #FF7575;
      margin-top: 30px;
      font-size: 15px;
    }
    .price {
      text-align: center;
      font-size: 20px;
      color: #FF7575;
      font-weight: bold;
    }
    .buy, .consult {
      width: 80px;
      text-decoration: none;
      color: #fff;
      background-color: #FF7575;
      font-size: 15px;
      padding: 5px 10px;
      display: inline-block;
      text-align: center;
      margin-top: 10px;
    }
    .class_btn_row {
      position: absolute;
      bottom: 0;
    }
  }
  .org_class_pagination {
    text-align: center;
    margin: 20px 0;
    .item {
      margin: 0 10px;
      color: grey;
      text-decoration: none;
      &.active {
        background-color: #ED4D64;
        color: #fff;
        padding: 10px;
      }
    }
  }
}

.org_class_list {
  .list_title {
    text-align: center;
    font-size: 20px;
    width: 250px;
    margin: 0 auto;
    padding: 10px 0;
    border-bottom: 1px solid #e5e5e5;
  }
  .list_sub_title {
    text-align: center;
    font-size: 13px;
    margin-top: 10px;
  }
  .class_item_row {
    margin-top: 30px;
    .more_row {
      position: absolute;
      bottom: 0;
      width: 100%;
    }
    .class_img {
      width: 100%;
    }
    .class_title {
      font-size: 23px;
      font-weight: bold;
    }
    p {
      font-size: 15px;
    }
    .num {
      color: #FF7575;
      font-size: 20px;
    }
    .apply_num {
      margin-top: 20px;
    }
    .more_info {
      display: block;
      color: #FF7575;
      margin-top: 30px;
      font-size: 15px;
    }
    .price {
      position: absolute;
      bottom: 0;
      display: block;
      text-align: center;
      font-size: 32px;
      color: #FF7575;
      font-weight: bold;
    }
    .buy, .consult {
      width: 80px;
      text-decoration: none;
      color: #fff;
      background-color: #FF7575;
      font-size: 15px;
      padding: 5px 10px;
      display: inline-block;
      text-align: center;
      margin-top: 10px;
    }
    .class_btn_row {
      position: absolute;
      bottom: 0;
    }
  }
  .org_class_pagination {
    text-align: center;
    margin: 20px 0;
    .item {
      margin: 0 10px;
      color: grey;
      text-decoration: none;
      &.active {
        background-color: #ED4D64;
        color: #fff;
        padding: 10px;
      }
    }
  }
}


.account_title {
  font-size: 30px;
  background-color: #6BD9E8;
  background: -webkit-gradient(linear,left top,right top,color-stop(32%,#2578e9),color-stop(100%,#3fe7d9));
  background: -webkit-linear-gradient(left,#56CBEF 12%,#94FBD7 100%);
  background: -ms-linear-gradient(left,#56CBEF 12%,#94FBD7 100%);
  padding: 10px;
  color: #fff;
  margin: 0;
}

.account_page_container {
  margin-bottom: 10px;
  .account_nav {
    background-color: #e5e5e5;
    padding: 10px;
    padding-right: 0;
    .avatar {
      width: 45%;
      display: inline-block;
      img {
        width: 100%;
        border-radius: 50%;
      }
    }
    .username {
      font-size: 18px;
      color: #939393;
    }
    .tab_list {
      list-style: none;
      padding: 0;
      margin-top: 10px;
      a {
        text-decoration: none;
        font-size: 17px;
        color: #939393;
      }
      .list_item {
        width: 100%;
        height: 50px;
        line-height: 50px;
        text-align: center;
        &.active {
          background-color: #FFF;
        }
      }
    }
  }

  .profile_content {
    color: #939393;
    .title {
      margin-top: 50px;
      font-size: 25px;
      color: #939393;
      padding-bottom: 30px;
      border-bottom: 1px solid #e5e5e5;
    }
    .sub_title {
      font-size: 18px;
      font-weight: bold;
    }
  }

  .my_class_content {
    @extend .profile_content;
    .sub_title {
      background-color: #49E6DD;
      color: #fff;
      display: inline-block;
      font-weight: normal;
      padding: 3px 8px;
    }
    .peixun_header_row {
      background-color: #e5e5e5;
      height: 40px;
      line-height: 40px;
      font-size: 14px;
      text-align: center;
      .header_title {
        color: #49E6DD;
        font-size: 18px;
        text-align: left;
      }
    }
    .my_class_col {
      margin-bottom: 20px;
      img {
        width: 100%;
      }
      .class_desc {
        display: inline-block;
        width: 55%;
        .class_title {
          font-size: 18px;
          margin-bottom: 0;
          margin-top: 5px;
        }
        p {
          font-size: 11px;
          margin-top: 0;
        }

      }
      .class_action {
        display: inline-block;
        width: 42%;
        a {
          display: inline-block;
          width: 45%;
          text-align: center;
          background-color: #F67E85;
          color: #fff;
          height: 20px;
          line-height: 20px;
          text-decoration: none;
          font-size: 11px;
        }
      }
      &.vip_class_symbol {
        &:before {
          display: inline-block;
          content: '';
          width: 100px;
          height: 100px;
          position: absolute;
          top: 0;
          right: 0;
          background-image: url("http://7i7g8l.com1.z0.glb.clouddn.com/b2a32192125036425403bf2bc1f2d0bd29f38bcb-86b6f91808f33251d5f8331d1a8cd5d2d21b1320.png");
          background-size: cover;
        }
      }
    }
  }

  .my_card_content {
    @extend .profile_content;
    .my_card_row {
      border-bottom: 1px solid #d5d5d5;
      padding-bottom: 30px;
      padding-left: 30px;
      img {
        display: inline-block;
        width: 250px;
        vertical-align: bottom;
      }
      .card_info {
        display: inline-block;
        vertical-align: bottom;
        padding-bottom: 10px;
      }
    }
    .card_price {
      background-color: #F6858C;
      color: #fff;
      font-size: 25px;
      padding: 20px 40px;
      text-align: center;
      display: inline-block;
      margin-top: 10px;
      margin-bottom: 10px;
    }
    .card_remark {
      font-size: 15px;
      .alert {
        color: #f7848d;
      }
    }
    input {
      -webkit-appearance: none;
      border: 1px solid #e5e5e5;
      border-radius: none;
      height: 40px;
      width: 60%;
      margin-top: 10px;
    }
    .submit {
      -webkit-appearance: none;
      border: none;
      background-color: #6BD9E8;
      background: -webkit-gradient(linear,left top,right top,color-stop(32%,#2578e9),color-stop(100%,#3fe7d9));
      background: -webkit-linear-gradient(left,#56CBEF 12%,#94FBD7 100%);
      background: -ms-linear-gradient(left,#56CBEF 12%,#94FBD7 100%);
      color: #fff;
      width: 60%;
      height: 40px;
      border-radius: 0;
      font-size: 18px;
      padding: 0;
      margin-top: 10px;
    }
    .buy_card_row {
      img {
        width: 100%;
      }
      .card_banner {
        width: 100%;
      }
      .card_price {
        background-color: #F6858C;
        color: #fff;
        font-size: 20px;
        padding: 15px 45px;
        width: 100%;
        text-align: center;
        display: inline-block;
        margin-top: 10px;
        margin-bottom: 10px;
      }
      p {
        font-size: 13px;
        text-align: center;
      }
      a {
        color: #939393;
        display: block;
        width: 70px;
        color: #000;
        text-align: center;
        height: 30px;
        line-height: 30px;
        border: 1px solid #000;
        // margin-left: 40px;
        margin: 0 auto;
        text-decoration: none;
        &:hover {
          color:#fff;
          background-color: #F6858C;
          border: none;
        }
      }
      .remark {
        display: block;
        font-size: 13px;
        text-align: center;
        margin-bottom: 10px;
        .num {
          color: #ED4D64;
        }
      }
    }
  }
  .avatar {
    width: 100px;
  }
  #upload_avatar {
    display: inline-block;
    vertical-align: bottom;
    -webkit-appearance: none;
    border: none;
    background-color: #6BD9E8;
    background: -webkit-gradient(linear,left top,right top,color-stop(32%,#2578e9),color-stop(100%,#3fe7d9));
    background: -webkit-linear-gradient(left,#56CBEF 12%,#94FBD7 100%);
    background: -ms-linear-gradient(left,#56CBEF 12%,#94FBD7 100%);
    color: #fff;
    width: 100px;
    height: 30px;
    text-align: center;
    line-height: 30px;
    border-radius: 4px;
    margin-left: 10px;
  }
  .save_profile {
    -webkit-appearance: none;
    border: none;
    background-color: #6BD9E8;
    background: -webkit-gradient(linear,left top,right top,color-stop(32%,#2578e9),color-stop(100%,#3fe7d9));
    background: -webkit-linear-gradient(left,#56CBEF 12%,#94FBD7 100%);
    background: -ms-linear-gradient(left,#56CBEF 12%,#94FBD7 100%);
    color: #fff;
    width: 100%;
    height: 30px;
    border-radius: 0;
    font-size: 18px;
    padding: 0;
  }
}

.tailor_container {
  background-color: #6EC8F8;
  .tailor_img_col {
    img {
      margin-top: 40px;
      width: 100%;
    }
  }
  .tailor_form_col {
    background-color: #FFF;
    margin: 60px 0;
    color: #4b4b4b;
    h2 {
      font-size: 18px;
      color: #4b4b4b;
    }
    label {
      font-weight: normal;
    }
    .select {
      padding-top: 7px;
    }
    .btn {
      background-color: #F67d86;
      color: #fff;
      border-radius: 0;
      border: none;
      width: 100%;
      height: 35px;
      line-height: 35px;
      padding: 0;
      color: #fff;
      font-size: 15px;
    }
  }
}

.about_us_content {
  img {
    margin-top: 10px;
    width: 100%;
  }
  h2 {
    font-size: 22px;
    color: #009de2;
  }
  p {
    font-size: 15px;
    color: #828282;
  }
}

.join_us_content {
  .title {
    margin-top: 50px;
    font-size: 25px;
    color: #939393;
    padding-bottom: 30px;
    border-bottom: 1px solid #e5e5e5;
  }
}

// .vertical_align:before{
//   content: '';
//   display: inline-block;
//   vertical-align: middle;
//   width: 0;
//   height: 100%;
// }
.vertical_align {
  text-align: center;
  vertical-align: middle;
}

#qrcode{
  position: fixed;
  width: 200px;
  height: 200px;
  right: -200px;
  top: 50%;
  z-index: 999;
  img {
    width: 100%;
  }
  .handle {
    position: fixed;
    height: 50px;
    width: 50px;
    right: 0px;
    top: 50%;
    padding: 5px;
    background-color: #00aff0;
    color: #fff;
    text-align: center;
    cursor: pointer;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
  }
}

.rating {
    margin: 0 auto 10px;
    text-align: center;
    .star-wrap{
      width: 150px;
      margin: 0 auto;
    }
}
.rating span { float:right;position:relative; }
.rating span input {
    position:absolute;
    top:0px;
    left:0px;
    opacity:0;
}
.rating span label {
    display:inline-block;
    width:30px;
    height:30px;
    background-image: url("http://7i7g8l.com1.z0.glb.clouddn.com/b12cec1ff3a504b35e82b276227c1beffd7510e3-0d7d92738a7afd515dc0219bc431e20254e99a50.png");
    background-position: 30px 0;
    background-size: cover;
}

.rating span:first-child label {
}

.rating span:hover ~ span label,
.rating span:hover label,
.rating span.checked label,
.rating span.checked ~ span label {
    background-position: 0 0;
}